package v1.com.autoresource.mapper;

import v1.com.autoresource.aop.SelectDataSource;
import v1.com.autoresource.config.DynamicDataResourceHolder;
import v1.com.autoresource.model.dao.TbOrderItem;

public interface TbOrderItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TbOrderItem record);

    int insertSelective(TbOrderItem record);

    @SelectDataSource(dataSource = DynamicDataResourceHolder.SLAVE_DATA_SOURCE)
    TbOrderItem selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbOrderItem record);

    int updateByPrimaryKey(TbOrderItem record);
}